package com.koron.rating.classify.bean;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ExportNoSqlDto implements IExcelModel, IExcelDataModel {

    /**
     * 行号
     */
    @ApiModelProperty(hidden = true)
    private Integer rowNum;

    /**
     * 错误消息
     */
    @ApiModelProperty(hidden = true)
    private String errorMsg;

    @Excel(name = "无标准-设备分类", width = 25)
    private String typeName;

    @Excel(name = "名字", width = 55)
    private String name;

    @Excel(name = "父级名称", width = 55)
    private String parentName;

    @Excel(name = "具体位置", width = 150)
    private String fullPathName;

    public ExportNoSqlDto() {
    }

    public ExportNoSqlDto(String typeName, String name, String parentName, String fullPathName) {
        this.typeName = typeName;
        this.name = name;
        this.parentName = parentName;
        this.fullPathName = fullPathName;
    }
}
